package com.leiyk.rateLimiter.propertie;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: 配置类
 * @Author: leiyk6
 * @Date: 2024/7/2 17:41
 */
@ConfigurationProperties(prefix = "redis.rate.limit")
@Data
public class RateLimierProperties {
    private Boolean enable;

    private String strategy;
}
